<?php
/*
 * IKPHP 爱客开源社区 @copyright (c) 2012-3000 IKPHP All Rights Reserved 
 * @Author 小麦
 * @Email:ikphp@sina.cn
 */
class model_app extends model{
	
	public function app_cache(){
        $apps = array();
        $apps = $this->field('app_name,app_alias,app_entry')->where(array('status'=>'1'))->order(array('display_order asc'))->select();
        S('site_apps', $apps);
        return S('site_apps');
	}
}